package com.spark.trouble.model




data class RespUnitModel(
    var msg: String = "", // 成功
    var code: String = "", // 200
    var data: Any = Any(), // null
    var resultMaps: List<ResultMap> = listOf()
) {

    data class ResultMap(
            var acceptanceInfo: AcceptanceInfo = AcceptanceInfo(),
            var acceptance_id: Int = 0, // 22
            var technicianInfo: TechnicianInfo = TechnicianInfo(),
            var department_id: Int = 0, // 26
            var processorInfo: ProcessorInfo = ProcessorInfo(),
            var parent_id: Int = 0, // 24
            var name: String = "", // 机电科
            var leaderInfo: LeaderInfo = LeaderInfo(),
            var processor_id: Int = 0, // 20
            var technician_id: Int = 0, // 19
            var leader_id: Int = 0 // 21
    ) {

        data class AcceptanceInfo(
                var fileName: String = "", // 7609bacf0d79ed25f2aa6f2c97d62a5a.jpg
                var name: String = "", // 张峰
                var id: Int = 0, // 146
                var uri: String = "" // /pluploadDir/15308061700147609bacf0d79ed25f2aa6f2c97d62a5a.jpg
        )


        data class LeaderInfo(
                var fileName: String = "", // 7609bacf0d79ed25f2aa6f2c97d62a5a.jpg
                var name: String = "", // 张峰
                var id: Int = 0, // 146
                var uri: String = "" // /pluploadDir/15308061700147609bacf0d79ed25f2aa6f2c97d62a5a.jpg
        )


        data class TechnicianInfo(
            var fileName: String = "", // 7609bacf0d79ed25f2aa6f2c97d62a5a.jpg
            var name: String = "", // 张峰
            var id: Int = 0, // 146
            var uri: String = "" // /pluploadDir/15308061700147609bacf0d79ed25f2aa6f2c97d62a5a.jpg
        )


        data class ProcessorInfo(
                var fileName: String = "", // 7609bacf0d79ed25f2aa6f2c97d62a5a.jpg
                var name: String = "", // 张峰
                var id: Int = 0, // 146
                var uri: String = "" // /pluploadDir/15308061700147609bacf0d79ed25f2aa6f2c97d62a5a.jpg
        )
    }
}